<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Expires" content="0">
    <title>后台管理</title>
    <link href="/css/login.css" rel="stylesheet" type="text/css"/>
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css"/>
</head>

<body>
<div class="login_box">

    <div class="login">

        <div class="login_name">
            <p style="font-weight: bold;margin-top: -29px">注册</p>
        </div>
        <%--        onsubmit="return login();"--%>
        <div>
            <input name="username" type="text" value="" placeholder="请填入用户名">

            <input name="password" type="password" id="password" placeholder="请填入密码"/>
            <div class="tips dis" style="color: red;margin-bottom: 10px">用户名或密码不能为空</div>

<%--            <input value="登录" style="width:45%;background-color: #009688" type="submit" onclick="login();">--%>

            <a href="/" style="width:45%;float: left;"> <input value="登录" style="background-color: #009688" type="button"></a>
            <input value="注册" style="width:45%;float: right;" type="button" onclick="register()">
        </div>
    </div>

</div>
<div style="text-align:center;">

</div>

</body>
<script src="/js/jQuery-2.1.4.min.js"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('layer', function () {
        var layer = layui.layer;

    });
</script>

<script src="/js/register.js"></script>


</html>
